package com.computercourse.framework.domain.course;

import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @description
 * @author Feng.Yuan
 * @date 2020/1/28 10:33 下午
 * @param null
 * @return
 */
@Data
@ToString
@Entity
@Table(name="teachplan")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
public class Teachplan implements Serializable {

    private static final long serialVersionUID = -916357110051689485L;
    @Id
    @GeneratedValue(generator = "jpa-uuid")
    @Column(length = 32)
    private String id;

    private String pname;

    private String parentid;

    private String grade;

    private String ptype;

    private String description;

    private String courseid;

    private String status;

    private Integer orderby;

    private Double timelength;

    private String trylearn;

}
